home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
.net (Turkey) 1998 March
/
.net Internet Dergisi - CD 5.iso
/
mac
/
CON_BM
/
00287_Script_287
< prev
next >
Wrap
Text File
|
1997-11-07
|
2KB
|
60 lines
--Reset video bit
on ResetVideo
global gCurrentMoviePlaying, gCurrentMovieOrigHeight, gCurrentMovieOrigWidth, gCurrentMovieOrigPosX, gCurrentMovieOrigPosY
set howLongVideo = the duration of member gCurrentMoviePlaying
if the movietime of sprite 48 >= howLongVideo then
set the name of member (gCurrentMoviePlaying + 20) to ""
set the name of member 119 to "NameofFieldToControl"
-- set the visible of sprite 48 to false
-- set the visible of sprite 30 to false
-- updatestage
if the width of sprite 48 = 400 then
set the visible of sprite 48 to false
set the visible of sprite 30 to false
updatestage
set the locH of sprite 30 to 236
set the locV of sprite 30 to -1
set the membernum of sprite 30 to the number of member "smallmovie" of castLib "shared"
repeat with i = 1 to 6
set origloch = the loch of sprite (39 + i)
set origlocv = the locv of sprite (39 + i)
set the loch of sprite (39 + i) = (origloch + 1)
set the locv of sprite (39 + i) = (origlocv - 67)
updatestage
end repeat
-- move volume bar + knob
set origloch = the loch of sprite 31
set origlocv = the locv of sprite 31
set the loch of sprite 31 = (origloch + 82)
set the locv of sprite 31 = (origlocv - 60)
set origloch = the loch of sprite 32
set origlocv = the locv of sprite 32
set the loch of sprite 32 = (origloch + 82)
set the locv of sprite 32 = (origlocv - 60)
set the height of sprite 48 to gCurrentMovieOrigHeight
set the width of sprite 48 to gCurrentMovieOrigWidth
set the loch of sprite 48 to gCurrentMovieOrigPosX
set the locv of sprite 48 to gCurrentMovieOrigPosY
set the visible of sprite 48 to true
set the visible of sprite 30 to true
updatestage
end if
puppetsprite 48, false
puppetsprite 30, false
set gCurrentMoviePlaying = 99
end if
end ResetVideo